<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>

<div  id="templateTask-dlg" style="height: 100%;">
    <div class="easyui-panel" style="padding:5px;width:100%;" fit="true">
        <div id="tt" class="easyui-tabs" style="width:500px;height:450px;" fit="true">

            <div title="流水任务" style="padding:20px;display:none;">
                <table id="Task_dg_0">
                </table>
            </div>
            <%--<div title="文件查看" style="overflow:auto;padding:20px;display:none;">--%>
                <%--<table id="Task_dg_1">--%>
                <%--</table>--%>
            <%--</div>--%>
        </div>
    </div>
</div>

<div class="operate-contant" id="task-add-dlg">
    <form id="taskDataForm" method="post" enctype="multipart/form-data">
        <input type="hidden" id="id" name="id"/>
        <input type="hidden" id="taskCode" name="taskCode"/>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
                <td width="10%" class="mandatory">
                    任务类型:
                </td>
                <td width="40%">
                    <select id="type" name="type" class="width-180 easyui-combobox"
                            data-options="required:true,panelHeight:'auto',editable:false">

                    </select>
                </td>
            </tr>
            <%--<tr>--%>
                <%--<td width="10%" class="mandatory">--%>
                    <%--任务代码:--%>
                <%--</td>--%>
                <%--<td width="40%">--%>
                    <%--<input id="taskCode" name="taskCode" class="width-180 easyui-textbox"--%>
                           <%--data-options="required:true,validType:'length[1,30]'"/>--%>
                <%--</td>--%>
            <%--</tr>--%>
            <tr>
                <td width="10%" class="mandatory">
                    任务名称:
                </td>
                <td width="40%">
                    <input id="taskName" name="taskName" class="width-180 easyui-textbox"
                           data-options="required:true,validType:'length[1,30]'"/>
                </td>
            </tr>
            <tr>
                <td width="10%" class="mandatory">
                    是否启用:
                </td>
                <td width="40%">
                    <select id="status" name="status" class="width-180 easyui-combobox"
                            data-options="required:true,panelHeight:'auto',editable:false">
                        <option value="1">启用</option>
                        <option value="0">停用</option>
                    </select>
                </td>
            </tr>

            <tr>
                <td width="10%" class="mandatory">
                    任务内容:
                </td>
                <td width="30%">
                    <textarea id="value" name="value" rows="2" class="easyui-validatebox"
                              style="border:1px solid #e3e3e3;border-radius:4px;width:80%;" data-options="required:true,validType:'length[1,200]'"></textarea>
                    <a id="templateTask_pathvalue" href="#" class="easyui-linkbutton"
                    data-options="iconCls:'icon-search'" onclick="templateTaskDialog_getValue(event)" style="margin-bottom: 5%">查询</a>
                </td>
            </tr>
        </table>
    </form>
    <form id="form_log" method="post" enctype="multipart/form-data">
    <table width="100%" border="0" cellspacing="0" cellpadding="0" id="attr_log" class="hide">
        <tr >
            <td width="10%" class="mandatory">
            日志级别:
            </td>
            <td width="40%">
                <select id="level" class="width-180 easyui-combobox" name="level"
                    data-options="required:true,panelHeight:'auto',editable:false">
                    <option value="debug">debug</option>
                    <option value="info">info</option>
                    <option value="warn">warn</option>
                    <option value="error">error</option>
                </select>
            </td>
        </tr>
    </table>
    </form>
</div>



